\hypertarget{classai_1_1general_1_1_traffic}{
\section{ai.general.Traffic Class Reference}
\label{classai_1_1general_1_1_traffic}\index{ai::general::Traffic@{ai::general::Traffic}}
}


\hyperlink{classai_1_1general_1_1_traffic}{Traffic} used by units so that complex routing can be done where they do not collide with each other.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classai_1_1general_1_1_traffic_a5b9e392d67f70b50c7aff042edc9e83e}{Traffic} (int \_\-location, int \_\-start, int \_\-end)
\item 
int \hyperlink{classai_1_1general_1_1_traffic_ace78dd72f20929d961603f2e690a766e}{compareTo} (Object arg0)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{classai_1_1general_1_1_traffic_a158af021968f53b9e7ddc9fa53c79a06}{location}
\item 
int \hyperlink{classai_1_1general_1_1_traffic_a0446adee9e4afb8cfe6118ad30a45732}{start}
\item 
int \hyperlink{classai_1_1general_1_1_traffic_ad70ae05cfd6c796fbc13c9cf9f6ff6a7}{end}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{classai_1_1general_1_1_traffic}{Traffic} used by units so that complex routing can be done where they do not collide with each other. 

\begin{DoxyAuthor}{Author}
Jeff Bernard 
\end{DoxyAuthor}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{classai_1_1general_1_1_traffic_a5b9e392d67f70b50c7aff042edc9e83e}{
\index{ai::general::Traffic@{ai::general::Traffic}!Traffic@{Traffic}}
\index{Traffic@{Traffic}!ai::general::Traffic@{ai::general::Traffic}}
\subsubsection[{Traffic}]{\setlength{\rightskip}{0pt plus 5cm}ai.general.Traffic.Traffic (
\begin{DoxyParamCaption}
\item[{int}]{\_\-location, }
\item[{int}]{\_\-start, }
\item[{int}]{\_\-end}
\end{DoxyParamCaption}
)}}
\label{classai_1_1general_1_1_traffic_a5b9e392d67f70b50c7aff042edc9e83e}
Creates a traffic object 
\begin{DoxyParams}{Parameters}
{\em \_\-location} & where this traffic is \\
\hline
{\em \_\-start} & when this traffic starts \\
\hline
{\em \_\-end} & when this traffic ends \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classai_1_1general_1_1_traffic_ace78dd72f20929d961603f2e690a766e}{
\index{ai::general::Traffic@{ai::general::Traffic}!compareTo@{compareTo}}
\index{compareTo@{compareTo}!ai::general::Traffic@{ai::general::Traffic}}
\subsubsection[{compareTo}]{\setlength{\rightskip}{0pt plus 5cm}int ai.general.Traffic.compareTo (
\begin{DoxyParamCaption}
\item[{Object}]{arg0}
\end{DoxyParamCaption}
)}}
\label{classai_1_1general_1_1_traffic_ace78dd72f20929d961603f2e690a766e}
Compares this traffic object with another 
\begin{DoxyParams}{Parameters}
{\em arg0} & the one to compare with \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
-\/1 $<$ , 1 $>$ , 0 = 
\end{DoxyReturn}


\subsection{Member Data Documentation}
\hypertarget{classai_1_1general_1_1_traffic_ad70ae05cfd6c796fbc13c9cf9f6ff6a7}{
\index{ai::general::Traffic@{ai::general::Traffic}!end@{end}}
\index{end@{end}!ai::general::Traffic@{ai::general::Traffic}}
\subsubsection[{end}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf ai.general.Traffic.end}}}
\label{classai_1_1general_1_1_traffic_ad70ae05cfd6c796fbc13c9cf9f6ff6a7}
end of traffic \hypertarget{classai_1_1general_1_1_traffic_a158af021968f53b9e7ddc9fa53c79a06}{
\index{ai::general::Traffic@{ai::general::Traffic}!location@{location}}
\index{location@{location}!ai::general::Traffic@{ai::general::Traffic}}
\subsubsection[{location}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf ai.general.Traffic.location}}}
\label{classai_1_1general_1_1_traffic_a158af021968f53b9e7ddc9fa53c79a06}
the lcoation of the traffic \hypertarget{classai_1_1general_1_1_traffic_a0446adee9e4afb8cfe6118ad30a45732}{
\index{ai::general::Traffic@{ai::general::Traffic}!start@{start}}
\index{start@{start}!ai::general::Traffic@{ai::general::Traffic}}
\subsubsection[{start}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf ai.general.Traffic.start}}}
\label{classai_1_1general_1_1_traffic_a0446adee9e4afb8cfe6118ad30a45732}
start of traffic 

The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
src/ai/general/\hyperlink{_traffic_8java}{Traffic.java}\end{DoxyCompactItemize}
